using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace MecRobGest.GUI
{
    public partial class GUIFacturasrpt : Form
    {
        public GUIFacturasrpt()
        {
            InitializeComponent();

        }

        public GUIFacturasrpt(int iNumFactura, DateTime fecha, string empresa)
        {
            InitializeComponent();
            Factura1.SetParameterValue("numFactura",iNumFactura);
            Factura1.SetParameterValue("Fecha", fecha);
            Factura1.SetParameterValue("NomEmpresa", empresa);
            //MessageBox.Show((Factura1.Section1.ReportObjects["Picture1"]).ToString());
        }

        private void crystalReportViewer1_Load(object sender, EventArgs e)
        {

        }

        private void GUIFacturasrpt_Load(object sender, EventArgs e)
        {

        }
    }
}